package com.mikhailenko.transportMVC.service.es;

import java.util.List;

import com.mikhailenko.transportMVC.exeption.es.InputNotFoundException;
import com.mikhailenko.transportMVC.model.es.InputEntity;

public interface InputService {

    public InputEntity create(InputEntity input);
    
    public InputEntity delete(int id) throws InputNotFoundException;
    
    public List<InputEntity> findAll();
    
    public InputEntity update(InputEntity input) throws InputNotFoundException;
    
    public InputEntity findById(int id);
    
    public InputEntity findByName(String name);
    
    public List<InputEntity> findByBlockId(int id);
}
